projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98c87dc
)
Don't set an input shape unless client-decorated
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 6 Sep 2014 19:43:11 +0000
(15:43 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 6 Sep 2014 19:43:11 +0000
(15:43 -0400)
We were actually setting an input shape larger than the window
in !csd, and this was confusing at least openbox.
https://bugzilla.gnome.org/736064
gtk/gtkwindow.c
patch
|
blob
|
history
diff --git
a/gtk/gtkwindow.c
b/gtk/gtkwindow.c
index 592a0853e7090c3cda7370a15221c9dd389fd0b0..9b17febaed9e9dd0f3215e76df1b177cd784b717 100644
(file)
--- a/
gtk/gtkwindow.c
+++ b/
gtk/gtkwindow.c
@@
-6763,6
+6763,9
@@
update_border_windows (GtkWindow *window)
GtkStyleContext *context;
GtkStateFlags state;
+ if (!priv->client_decorated)
+ return;
+
state = gtk_widget_get_state_flags (widget);
context = gtk_widget_get_style_context (widget);